Segment

constructor(label: String, portion: Double, color: Color)

Construct a graph segment with the given label, proportion and color


constructor(label: String, portion: Double, color: Color, target: Any)

Construct a graph segment with the given label, proportion, color and target